/*
 * @Descripttion: 
 * @Author: 银河以北
 * @Date: 2024-04-23 22:15:04
 * @LastEditors: 银河以北
 * @LastEditTime: 2024-04-28 21:38:07
 */
import { request } from '@/utils/request'
/**
 * @Description: 用户登录 
 * @Author: 银河以北
 * @Date: 2021-06-11 22:31:59
 * @param {*} data 邮箱 密码
 * @return {*}
 */
export function login(data) {
    return request({
        url: 'codeImg/public/login',
        method: 'POST',
        data
    })
}

//  获取用户信息
export function getUserInfo() {
    return request({
        url: 'codeImg/authority/getUserInfo',
        method: 'GET'
    })
}